<script setup>
import { RouterLink, RouterView } from 'vue-router'
</script>

<template>
<div class="container">
  <RouterView />
</div>
</template>
<!-- 局部作用域scope只在当前 -->
<style scoped>
.container{
  width: 100vw;
  height: 100vh;
  /* 设置背景图片 */
  background-image: url(./assets/layout/8f5c0abe79bb5d5c08af45c7fc8638d6a7de388f_size127_w1920_h1200.jpg);
  background-size: 100% 100%;
}
</style>
